<template>
  <div>
    <h2 @click="ccTest">清缓存</h2>
    <h2><router-link to="/home">toHome</router-link></h2>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  methods: {
    ccTest:function(){
          //清除  
          removeData("mplant_tree_time_1");
          removeData("mplant_tree_time_2");
          removeData("mplant_tree_time_3");
          clearInterval(this.$store.state.is_s_time)
          clearInterval(this.$store.state.is_d_time)
          clearInterval(this.$store.state.is_w_time)
          // let phone = getPhone(true);
          // let phone2 = getPhone();
          // alert(phone)
          alert("清除计时，自行刷新页面")
        },
  }
}
</script>

